package com.weixing.mall.provider.model.vo.report.storage;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.weixing.mall.provider.api.model.enums.AgentTypeEnum;
import com.weixing.mall.provider.api.model.enums.OrderTypeEnum;
import com.weixing.mall.provider.support.excel.EnumConverter.AgentTypeConverter;
import com.weixing.mall.provider.support.excel.EnumConverter.OrderTypeConverter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author jzy
 * @date 2020/6/11
 */
@Data
@ApiModel(value="StorageInterceptVo", description="仓储部-09库存截留报表")
public class StorageInterceptVo {
    @ApiModelProperty(value = "客服id")
    @ExcelIgnore
    private Long customerId;

    @ApiModelProperty(value = "订单类型")
    @ExcelProperty(value = "订单类型",converter = OrderTypeConverter.class)
    private OrderTypeEnum orderType;
    @ApiModelProperty(value = "名称（客服名称）")
    @ExcelProperty("客服名称")
    private String customerName;
    @ApiModelProperty(value = "日期")
    @ExcelProperty("日期")
    private String date;
    @ApiModelProperty(value = "等级(经销商金银级)")
    @ExcelProperty(value = "等级(经销商金银级)",converter = AgentTypeConverter.class)
    private AgentTypeEnum agentType;
    @ApiModelProperty(value = "数量(团队的下单数量)")
    @ExcelProperty("数量")
    private Integer quantity;
    @ApiModelProperty(value = "金额")
    @ExcelProperty("金额")
    private BigDecimal amount;
}
